package website.haicheng.server.handlers;

import website.haicheng.server.model.Message;
import io.netty.channel.Channel;

/**
 * @Author: 582895699@qq.com
 * @Desctription: 逻辑处理接口类
 * @Date: Created in 2021/12/1 16:23
 */
public interface MessageHandler {

    /**
     * 逻辑处理
     *
     * @param channel Channel
     * @param message Message
     */
    void process(Channel channel, Message message);
}
